package org.example.emp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.example.emp.dto.DepartmentDto;
import org.example.emp.pojo.Department;

public interface DepartmentService extends IService<Department> {
    //根据id查询部门信息及其下所有员工的信息
    DepartmentDto getDepartmentAndEmployeeById(int id);

    boolean deletedDepartmentAndEmployeeById(int id);

    boolean updateDepartment(Department department);
}
